<?php

namespace App\Containers\AppSection\Dadata\Actions;

use App\Containers\AppSection\Dadata\Tasks\CleanDadataTask;
use App\Ship\Parents\Actions\Action;
use App\Ship\Parents\Requests\Request;

class CleanDadataAction extends Action
{
    public function run(Request $request)
    {
        return app(CleanDadataTask::class)->run($request->getInputByKey('name'), $request->getInputByKey('value'));
    }
}
